How can a creature like this possibly evolve?

Since you have mentioned magic and how it seems rather topheavy perhaps it uses magic to fly also or perhaps inflated itself by methane and burping it out in the form of fire, thus lowering it’s height also.