SFT, RL, and On-Policy Distillation Through a Distributional Lens