When you use the front brakes on your bicycle, why does your body want to rotate over the front wheel?

The braking force is offset from the riders COM and that creates rotation.

There is also the propagation of rotational kinetic energy from the inertia of the wheel.