http://civilization.wikia.com/wiki/Montezuma_(Civ5)
Look at the list of AI traits, you'll notice that "likeliness to declare war" is high and "loyalty" is fairly low. That is why Montezuma is a backstabbing psychopath.
Some civs have high loyalty stats and will hang out with you for the whole game. Like Sweden.