Why are parents only allowed to take photos on the first and last day of swim lessons?

This rule is intended to protect the privacy of parents who may not want photographs of their child taken.