Yoda tells Luke that Darth Vader is indeed his father because kids in real life assumed Vader was lying and after speaking with a child psychologist George Lucas wanted to make it clear for his younger viewers.
#19 there was a lot more to it than that