The query and running the rebuild do different things. The rebuild basically just makes sure everyone has all the trophies they should. The query updates the point values to ensure they're correct, though I'm not aware of a situation within XF that necessarily causes it to go wrong (that is, it shouldn't normally be necessary).