Military officials say the soldiers were guarding workers as they destroyed crops of coca , the plant used to make cocaine .