Why is the army split into two cohorts (Ta'ifatayn) during the Fear Prayer (Salat al-Khawf)?

The Fear Prayer: Method and Rulings for the Two Groups