Aside from Belgium, this is almost exclusively because the countries happened to have a lot of potential for hydro power.
Not because they're wealthy or care about the environment. Because they really don't. Or at the very least not as much as they do about making billionaires richer at the expense of the environment.