This was probably a short-term expedient, pending electrification.
Given the current circumstances, this seems like a provisional approach that will likely be replaced by electrification in the future.