Purification was studied before Salah because ritual and physical purity are among the conditions for valid prayer.

Introduction to Salah: Meaning, Obligation, and Structure