Because they dropped 4 spots from last week and we rose one spot, so we gained 5 spots on them.
This has been discussed ad nauseam on this board. You don't look at one head-to-head matchup and apply the transitive property on these things with so many variables. If that's all it was, we'd be ranked ahead of Houston and Kentucky would be ranked ahead of us.
In either case, if you're losing your mind over a team we beat being ranked #24 while we're #25, you have way too much time on your hands. This isn't football where teams are jockeying for a CFP invite.