How big was the tub?
Were there any air holes in the tub?
How long was the snake left in it?
Where was the tub placed while the snake was soaking? (Over a heat source?)

Snakes are excellent swimmers, and can lay under the water for several minutes without drowning...so it's pretty unlikely that it would die by drowning, but without knowing the exact facts about the set up, who can really say?

They also don't exchange oxygen at the same rate that we humans do....so in a reasonably sized container, even without air holes, they would have to have been trapped in it for an unusually long time to suffocate. But if the tub was really small, so that the snake had very little room, suffocation might come faster?

Or if the small tub was placed over a heat source that is set to heat a larger enclosure....might have caused a serious overheating inside the smaller container.

I'm sorry about your friend's snake. We may never know what happened. One thing I always do is caution people to never leave a soaking snake unattended.