It actually explains it in the first movie. Batman had a traumatic experience in his childhood that involved bats, therefore leading to him developing a lifelong fear of bats. In a later scene he was asked what he wanted his nickname to be, and he said the thing he feared most.