They tilt back to help absord the "impact" of the landing, the bogies are held in that position so that they absorb some of the force of the landing making it smoother.
However if they cant fit them into the wheel wells in that position then they will tilt them the other way, such as in the case of the 767, which is why it is a lot harder to grease a landing in a 767!