Kerosene and other distillations of petrol have been around since about middle or so 1800's. It wasn't until electricity, invention of small fans (and motors to run them) came about in early 1900's that oil, petrol, kerosene etc...burners became possible. From then on it was a rush to move away from coal...
Hard to imagine today but coal back then cost more than any sort of petrol and often was subject to all sorts of issues with supply including frequent labor actions affecting mines.
Soon everywhere you looked things were switching from coal to oil/petrol or electricity. Steam powered ships and locomotives for example went over to oil or diesel. For building heating everyone and their mother was soon churning out various burners for oil or other sorts of petrol and there was a lively business in converting boilers and furnaces off coal. Many buildings including homes still have their original boilers that once burned coal that were converted to oil (then to or perhaps outright to natural gas) and still running today.
Natural gas of course wasn't (and still isn't) everywhere, but oil, kerosene and diesel fuels can be stored in tanks or whatever, so there you are.
Beauty of these newer petrol heating systems is ability they offered of modern "automatic" control of heating. This without having to deal with bother that goes with firing coal boilers, furnaces, stoves, ranges... No ashes to empty and dispose of. No worries about fire going out. Waking up to warm home/building instead of having to go down to basement and unbank/fire up coal boiler/furnace.
Big Coal didn't take any of these developments lying down. By 1930's and certainly post WWII there were automatic stokers and other systems that rivaled (so their makers claimed) oil or petrol heat. Companies such as Iron Fireman branded all sorts of stoker feed systems for those who still burned coal.
1016p ; ill.; 17 cm; trade catalog;
archive.org