Assuming (of course) male anatomy, rabbis decreed that people were to turn their backs to the direction of the temple when urinating, shielding God from their penises, and face the direction of the temple when defecating, so as to hide their buttocks.