Because it's a fold-out Murphy bed, made by the inestimable Stubbs from The Stubby Thumb! Click that link and you can see exactly how she made it (although I should warn you it doesn't look particularly easy). Check out bigger, better pics after the jump!

[Via The Mary Sue]