The amount of gas present in the oil varies from well to well.
While the pressures are no higher than the casing head pressure, the gas expands as it nears the surface, and until it can be linked to processing facilities by pipeline is burned off as a byproduct of oil production.
In the meantime, the oil is trucked out to shipment facilities and market, helping pay for the well while waiting on the pipeline hookup.
What you see in those night time pictures is the backlog in feeder pipeline construction: about 29% of the gas produced (as a byproduct of oil production) on any given day is flared, although that number is dropping as infrastructure construction catches up.
Thanks again