They don’t fill an orbital fully before another one because these configurations are more stable.

Chromium

[Ar]

Copper

[Ar]