My DS and his friends were once, as teenage boys do, throwing small stones into a pond. A meddlesome woman came by and told them off, as there were ducks on a completely different part of the pond - not because they might hit the ducks, as they weren’t aiming at them or indeed anywhere near them, but because at some future point a duck might eat one of the stones and die.
I’m afraid when they recounted this conversation I did laugh at their response which was “if a duck’s stupid enough to eat a stone, that’s on the duck”. Similarly here, if a teenager is stupid enough to get stuck in their own bed, that’s on the teenager.