That is what I was taught as well, but a don't see the contradiction you do. Christians and Jews do not regard Mohammad as a higher authority than Jesus or Moses. That' sort of disagreement is all it takes for any group to become the enemy of any other group