Take them off phalanx formation, and then they can man the ram.

Think about it. When they are in the phalanx, they can't exactly work the ram or seige tower.

But is this ever explained in the manual? I doubt it.