Well Rotating a rotor on a generator is the most convenient way to make electricity with parts that last a long amount of time. Also doesn’t help that we use AC power while other sources like photovoltaic produce DC power which needs to be converted to be used.