It comes down to how MapleStory handles stat growth. For every 10 points of Strength a character has, they gain an extra point of HP each time they level up.
So a level 40 mage, for example, might only pick up a single additional HP per level. Characters built with HP-boosting skills follow a completely different pattern, which is why two characters at the same job and level can end up with very different health totals.