I guess a good question would be why he was put in charge of escorting Poe away if Ren sensed something off about him and Phasma could see he was visibly shaken.
He wasn’t put in charge of escorting Poe. He was acting off his own back to free Poe, pretending that He’d been ordered to escort him. I thought that was pretty clear.