Related questions

Question

When electrons fill a subshell, they first fill different orbitals before "pairing up". Let's consider why. Consider the px and py orbitals here to be on the same atom. Also, assume the px orbital contains one electron and the py orbital is vacant. The second electron goes into the py orbital instead of px orbital. Why?