Just to clear something up:
What you see on the gear is truck (bogey) tilt, not gear tilt. This is because the wheels are connected to trucks, which are in turn connected to the gear. If the gear was to tilt, you’d see the whole gear leg sticking out at weird angles; luckily for us, that doesn’t happen.
What actually happens is that the gear truck is tilted to be able to fit in the gear bays on the undercarriage. Another reason is that the torque produced by the straightening gear helps to flatten the aircraft out after touchdown.