Answer. Because we were commanded by God to count seven weeks, or forty-nine days, from the second day of Pesach, and on the fiftieth day, that is, the sixth day of the third month (סיון), to celebrate a festival.
מצות עשה לספר שבע שבתות תמימות מיום הבאת העמר שנאמר וספרתם וכו׳ ומצוה למנות הימים עם השבועות שנאמר תספרו חמשים יום --- ביום חמשים מספירת העמר הוא חג השבועות.
Maim. Hilch. Themid. 7, 22. und 8, 1.
[It is a positive commandment to count seven complete weeks from the day the Omer is brought, as it is said: "And you shall count," etc. [Lev. 23:15]; and it is a commandment to count the days together with the weeks, as it is said: "You shall count fifty days" [Lev. 23:16]. --- The fiftieth day of the counting of the Omer is the Feast of Weeks.]
Maimonides, Laws of the Daily and Additional Offerings 7:22 and 8:1
וספרתם לכם ממחרת השבת מיום הביאכם את עמר התנופה שבע שבתות תמימת תהיינה עד ממחרת השבת השביעת תספרו חמשים יום והקרבתם מנחה חדשה לה׳.
ויקרא כג, טו --- טז.
You shall then count from the day after the holiday, from the day on which you brought the Omer of waving, seven full weeks. Up to the day after the seventh week you shall count fifty days, and then bring a new meal-offering in honor of the Eternal.
Lev. 23:15--16
שבעה שבעת תספר לך מהחל חרמש בקמה תחל לספר שבעה שבעות ועשית חג שבעות לה׳ אלהיך.
הדברים טז, ט --- י.
Seven weeks shall you count; from the day on which the sickle is first put to the standing grain you shall begin to count seven weeks; then you shall keep the Feast of Weeks in honor of the Eternal your God.
Deut. 16:9--10