The players busted them. Her teammates kept telling her to knock it off and that it was stupid. And she denied, denied. Eventually they busted in on her in his room.
From the team’s perspective, this was a teammate that was selfish and a liar. They gave her multiple chances to a) come clean and/or b) end it, and she made her choice. The team flogging was a result of that broken trust.