The rules of Girls lacrosse clearly state 5 major fouls that have Mandatory Card written in them. They are: Dangerous contact Check to Head Slash Dangerous Propelling Dangerous Follow Through
The officials have no choice but to card any if the above actions.