Why do we eat 7 pastries on Shavuos?

To commemorate the donut kill, donut steal, donut be jealous…