Karen hasn't actually done anything. She's pretty confident about this, because she's not really the sort of person who does things. Even when she does do things, she doesn't mix random chemicals and make a bunch of probably-not-toxic but still-very-messy fizz all over the chem lab countertop.
The teacher gives everyone at her table detention. It doesn't occur to her to protest this.