Deviation in ionisation energies increase Across a period
aluminium: the outer electron in Aluminium sits In the 3p orbital, a slightly higher sub shells from the nucleus compared to the electron in magnesium
Sulfur: phosphorus and sulfur both have outer electrons in 3p orbital: shielding is the same. However removing electron from sulfur Involves taking it from an orbital with 2 electrons in it: electrons repel so less energy required to remove it.