Oil is a non-renewable resource.
Solar energy and water is naturally produced we just harness it for our needs! Both of these are natural and in abundant supply that can also be renewable. However, oil is mined and used which means it can not be re-used.
I hope this helped. Have a great day!