Why do elements in columns 6 and 11 assume 'abnormal' electron configurations?
As I understand this, there are basically two effects at work here.

When you populate an $\mathrm{s}$-orbital, you add a significant amount of electron density close to the nucleus. This screens the attractive charge of the nucleus from the $\mathrm{d}$-orbitals, making them higher in energy (and more radially diffuse). The difference in energy between putting all the electrons in $\mathrm{d}$-orbitals and putting one in an $\mathrm{s}$-orbital increases as you fill the $\mathrm{d}$-orbitals.

Additionally, pairing electrons in one orbital (so, adding the second $\mathrm{s}$ electron) carries a significant energy cost in terms of Coulombic repulsion because you're adding an electron essentially in exactly the same space as there's already an electron.

I'm assuming that the effect isn't strong enough to avert fluorine having a $\mathrm{2s^2}$ occupation, and if you look at gadolinium, the effect there isn't strong enough to stop the $\mathrm{s}$ from filling (large nuclear charge and orbital extent at the nucleus is a good combination energy-wise), it does manage to make it more favourable to add the electron into the $\mathrm{5d}$ instead of the $\mathrm{4f}$ orbitals.

Also, if you take a look at tungsten vs gold, there the effect isn't strong enough for tungsten to avoid a $\mathrm{6s^2}$ occupation, but is for gold - more $\mathrm{d}$ electrons making the screening effect overcome the strong nuclear charge and enhanced nuclear penetration of an $\mathrm{s}$-orbital.