Oil is the fossilized remains of plankton. Anywhere life develops would have oil eventually.
1) plankton or something plankton-like develops and generates a lot of biomass, and
2) its remains aren't dispersed or digested by other organisms, and
3) it has time to turn into petroleum, and
4) all of this happens far enough ahead of intelligent life so that it's ready when they need it, and in sufficient quantity to bother.
You could build a "Drake equation" model about how likely this is, and maybe it's pretty likely, but it's not inevitable.