A by-product of making good kerosene is gasoline and there was no market for it so much was dumped or burned off. Rockefeller put money into the development of the internal combustion engine we use in cars today.
He also built oil pipelines in order to save money the railroads were charging him to move oil by tanker truck.