Speaking from a structural…
Speaking from a structural engineering standpoint, the reason for its placement is weight distribution. Placing it in the cargo space would put more weight on the rear tires causing them to wear out faster. Not a mechanical engineer.