Between patriarchy and their instincts, men often assume protective roles in romantic relationships, especially heterosexual ones. This can subconsciously inform the side of the bed they sleep in too, which is usually the one closest to danger (the floor, the door, etc.) So, they can guard their partner.