Because those are intermittent power sources. That is, there are times when the wind isn't blowing, and sun isn't shining, and there is no battery technology (now or coming) that is capable of storing enough energy to bridge this intermittency gap. This is why solar and wind need fossil fuel back-up. Natural gas companies are some of the biggest proponents of solar and wind projects.
Because we've been working pretty hard on batteries pretty hard for over 200 years, it will take a 10-20X improvement over current technology and we're not really seeing anything that is exponential like that anytime soon. I mean obviously it could happen, it's just unlikely given the past 200 years of steady improvement and not step function improvements.
We use enourmous amounts of energy and we invest enourmous amounts of money in energy production. At the same time we have neglible storage and and neglible investment in storage.
some numbers:
194MWh - capacity of Hornsdale Power Reserve in Australia
Short answer: solar produces ~10 watts per square meter, all factors considered. Wind, even less. USA consumes 3.8T kWh/yr electricity, needing 44,000 square kilometers (20% of Utah) of solar panels & buffer batteries to supply.
Conceivable, but a massive undertaking at a scale having inevitable significant problems ($66T price tag for starters).