I'd like to believe what the article mentions-
“Hey Jude,” which Paul McCartney wrote to comfort Julian when John Lennon was separating from Julian’s mother, Cynthia. Julian was only 5 years old at the time and didn’t grasp the message of the song — which was originally titled “Hey Jules"- as at least some inspiration for the song.