Both of these races consider all other races inferior, and themselves the best. Why are Gityankas better than mind flayers? Why do they have a conflict if they are so similar?
If you have to people who both believe they are better than everybody else they will definitely not get along, because everybody else includes the other person. And if there's anything such people can't stand it's somebody they think is lesser than themselves thinking they are better than them in turn.