The lunar eclipse is caused when the earth comes in between the sun and the moon while revolving. This is not the only condition as the three celestial bodies have to be in a position where they are perfectly placed in a straight line.