I understood that she was using her personal phone on her personal time, but there are still consequences for things written on the internet.
The school is using its discretion. It's like taking away the keys when someone is drinking. They can't get in trouble if they don't have the tool. The school would be legally responsible if she used her iPad irresponsibly. They are trying to teach her the consequences of poor choices on the internet. It's a valuable lesson.