I think Harry Potter fell in love with Ginny Weasley for the same reasons that Harry loved Ginny's brother, Ron. They were loyal friends and they stood by Harry when he was at his darkest and most vulnerable.
The Weasley family showed Harry more love than his own family did. It makes sense that Harry would fall in love with someone from the Weasley family and Ginny had always admired Harry.