Everything you're describing happened after pulling her over, but they needed a valid reason to pull her over. Flock was supposed to be that reason.
"Given Kyle's speed, Alaniz had an objectively reasonably basis to stop the Mazda for violation of 47 O.S. 11-310"