A lot of the time, it's just gremlins in the system.
The passport could be in the system as "British normal" rather than "British citizen".
Other times there's nothing wrong that the agent can see.
Failed check in attempts sometimes leave "dodgy" data in the system that needs to be cleared and the passport rescanned.