The negative externalities of coal aren't adequately captured by taxes, sure...but what does that have to do with government subsidizing solar? Clearly they have.
This is orthogonal to OPs claim that "we subsidized solar until it was profitable is not accurate"