Either pet HP is bugged or I'm not understanding it..
i am no expert here so i can be rong but its looking like what you see in the pet windo is base states then what ever traits you pick/ they get will change thare hp/states. that is what its looking like. i also know what ever gear you have also changes your pets stats so that might be what is geting your stuff to look a little odd.
Maybe you should start with what you think is wrong. A bug report is the wrong place to trying to play charade.
I'm not understanding what's hard to grasp. Both pets have the same vitality rating. One pet has 41k hp and the other has 27k. Neither of those HP's match what's in the pet window either. Nothing about it makes sense.