Every time you build an item, you will get a point added both to your star and trophy.
The points on your trophy will be counted and awarded every 2 weeks.
Then the points on your trophy will be reset for the new season. But the points on the star will keep accumulating.
That’s why the star points are normal higher than the trophy’s.