all the drilling on "public land" is done on leased ground, that means the government gets money from the oil companies to drill there.
they have to lease the land to drill, and transport the resource, whether it be oil, or natural gas.
by the way, the VAST majority of drilling on "public land" is done for natural gas.