They are written by the same author. Both have emotional impact, though the end may be viewed as a happy one.