No second wind?

Just played a game where I was super low and so ran off but got hit with a few last bullets to lose all my health and went straight to my knees with the prompt to set off the bomb. I had not used second wind at all that game.

Only thing I can think of is I think it was the ai who got in the shots that killed me. Does their damage sometimes/always not put the pred into second wind?

I have noticed that if you lose the mask before second wind you do not get second wind.
Don’t know if this is intended game mechanics or a bug