Alextrasza just kill me instead of puttiing my health in 15

I was playing rank today and I encounter an excavate warlock, he play the snake 3times wich let me at 9hp, after that I atack and left him at 1 hp, on his turn he play alextrasza targeting me and my hero just die like how?!?!?!?! Her battlecry says “set a heros remaining health to 15” even though the snake doesn’t let gain health back it makes 0 sense that the alextrasza kill me.

This is a weird interaction. This has also been discussed here:

https://www.reddit.com/r/hearthstone/comments/1bwjk6c/dont_use_alexstraza_to_counter_excavate_warlock/?rdt=45461

It appears the effect of the snake works like an aura. If the health is set to 15 with Alextrasza then the effect of the snake is applied to the health pool and the player dies if the snake was played 3 times.

Thats weird so Alex will make my life 15 and then the game would look back at the 21 the snake strip away from me making my life total -6 its weird but it makes sense, thats something that would happen in mtg