It could have been 4 minutes, look at the VWP qualifications, she was never eligible to use the VWP.
Loads of people on here have visited multiple times whilst their K1 was in process.
Now why she was refused ESTA I do not know, and you probably never will, just be grateful as otherwise she could have had a trip and been bounced by the PoE, a long way home.