Respect for others in class is shown by not disturbing or interrupting the class. While the decision to follow the class or not lies with the individual. Seems they were just on their of and not in any way disrupting the class for others. To force students to pay attention in class is a stupid idea because learning is a voluntary process.
Further making it into such a huge issue actually reflects on the immaturity of people involved.