Because, not only are fossil fuels eventually going to run out, but it's very harmful to the environment by emitting greenhouse gasses that continuously warm our planet, thus global warming.
Solar and wind energy are clean, somewhat cost effective (more-so for wind energy), and can be used nearly anywhere.