Hate and like are both two totally different things. They're antonyms. "Like" is a word that's a synonym for "Love", but when you LOVE something you really like it. "Hate" is the antonym for "Love" or "like". When you hate somebody, or when somebody hates you, it's often because of something that happened between you and him/her.
I hope this helps! Have a wonderful day, and weekend!