When it comes to onshore, as a relatively densely populated island it can be politicly difficult to build large wind farms anywhere but in Scotland. Add to that the reasonable argument that offshore wind is more consistent and our offshore engineering expertise, it's quick to reach the conclusion we should be (almost) all in on offshore wind.
On the other hand, onshore wind is cheaper and would have been viable all along, the Tories effectively banned it (technically they just made it very easy to block planning permission) for years because that wins over a certain kind of NIMBY voter. You couldn't build enough onshore wind to replace all the fossil fuels, but you could make a bigger dent than we did.
Severn barrage is interesting but would have a quite large impact on the local nature habitat
The government ban you mention only applies to England, which already has almost half of the UK's onshore wind despite having by far the least space for it. Making complaints that the rural population of England, already under pressure due to soaring population density, doesn't want their remaining rural spaces covered in wind turbines when plenty of other good options exist requires quite a bit of mental gymnastics to justify.
Population densities in people/km2: England 424, Scotland: 68, UK overall 272, Germany: 232, France: 118. Landmass in thousands of km2: England 130, Scotland: 77, UK overall 242, Germany: 357, France: 551.
The main reason we don’t get more of it is a handful of rich land owners not wanting an “eyesore” on their estates and using their influence to get that result.
This is not a democratic country, after all.
I mean, Belgium and the Netherlands and more dense than the UK, and Germany is only a bit less dense. Plus onshore wind can be placed in agricultural areas, in the middle of cropfields.
But the UK's offshore wind potential in incredible, so I get why we do that instead.