The statement that most accurately explains why oil became a preferred fuel for the railroad and shipping industries is: Oil was safer and less expensive than coal.
While other factors may have contributed to the transition, the safety and cost-effectiveness of oil compared to coal played significant roles in its adoption in these industries.