Here's why:
* Aluminum (Al) is a metal with a +3 charge.
* Phosphorus (P) is a non-metal with a -3 charge.
To form a neutral compound, the charges must balance. Therefore, one aluminum atom (Al) with a +3 charge combines with one phosphorus atom (P) with a -3 charge, resulting in the formula AlP.