* Grade: On steep inclines, placing the engines at the head of the train (leading) provides more pulling power to overcome gravity. Having one engine at the rear can provide added pushing power to prevent slack in the couplings and aid in controlled movement up the grade. This isn't strictly back-to-back, but strategically placed for optimum traction.
* Weight of the train: Heavier trains require more power. Multiple engines, whether leading or distributed, are used to increase the overall tractive effort. They aren't always back-to-back unless strategically placed to manage a long and heavy train over difficult terrain (e.g., to reduce slack and strain on couplers).
* Track curvature: Sharp curves can put significant stress on the train and couplings. Having engines distributed along the train can reduce this stress and improve maneuverability. Again, this isn't necessarily back-to-back.
* Operational Efficiency: In some instances, distributing power along the length of a long train might be more efficient than concentrating it at the front, reducing wear and tear on a single engine. However, back-to-back configuration is not generally used to promote operational efficiency.
In short, while there might be *some* situations where two engines might be roughly back-to-back (perhaps one at each end, though usually not directly back-to-back touching), it's not a standard or typical arrangement. The placement is carefully considered for optimal traction, control, and to minimize strain on the train and its components.