A lunar eclipsed is caused when the Earth blocks most sunlight from reaching the moon.
This happens because during the moon's orbit around Earth there are certain times where the Earth can line up between the sun and the moon, giving us a lunar eclipse.