If you're standing half on an elevator, enough for it to teleport you, and the elevator that it teleports you is next to a wall. You are placed inside the wall, taking suffocation damage.
Fix is to place the player in the center of the elevator each time you're teleported.