I feel like they just use a (poor) predictive AI model to generate a pecking order and just roll with it.
They are so rarely correct, even in the order let alone gaps, I doubt there's actually someone properly analyzing data from the FP sessions.
I have seen fans here make better predictions than what F1 publishes ...