Why did gasoline or diesel replace steam engines.  The answer is simply cost and convenience.  One person can run a gasoline engine, while a steam boiler and engine system  with all the gauges, values, fires, etc. require a minimum of two people and often more.  Even so, who can forget the romance of riding on a steamboat or train and tooting the whistle.