She knew Stamets would try to attack her, and stabbed him before he could. In the previous timeline, Stamets seemed uninjured.I thought it was only a different timeline after Burnham wasn’t killed by Georgiou. I was under the impression that Georgiou is shown as knowing Stamets would try and kill her because it also happened originally...but it didn’t.
Not a big deal, I still liked the episode.