Yeah elderly people shouldn't fall in love, it's unsightly. Haha but even so, I think it's there to drive home the hopeful, redemptive message.
Reminiscent of Rio Bravo in how it faces off against the grimdark cynicism other westerns were going with at the time.