You gain a boosted number of points when you have either a traded Pokemon, or a Pokemon holding the Lucky Egg item. If neither of these was what's happened, it could be glitched. But at least it's not a bad glitch xD
In short, it was either traded or holding the lucky egg.