Prayer can move mountains (obstacles) as it takes the focus off oneself. However, when one hates, they’re focusing entirely on themselves.
Hate is selfish (meaning focused on self). The person hating believes they or their position, is better than the person/group they hate. Hate is also extremely infectious. While no one is immune to it, some are able to overcome it (but it takes effort).