The Exodus and Moses being given the Ten Commandments are related in that Moses was given the Ten Commandments while leading the Exodus. This event occurs after the Israelites were liberated from slavery in Egypt and were journeying towards the Promised Land. The Ten Commandments were received by Moses on Mount Sinai, which is a pivotal moment in the biblical narrative.
As for your second question, roasted egg, bone of a lamb, and haroset are specific foods eaten during Passover (Pesach). These foods are part of the Seder plate, which is used during the Passover Seder meal to commemorate the Exodus from Egypt.