It seems correct to me to say
These 5 apples weigh 100g each.
However it also seems correct to say
Each of these 5 apples weighs 100g.
What is the reasoning behind using the plural in the first, and the singular in the second? They seem to be saying the same thing about an individual apple.