Michelson and Morley thought they couldn’t measure
the flow of aether because it was dragged along by the earth
as it moved through space.
It wasn’t until Albert Einstein published his Special Theory of Relativity
that the irrelevance of the aether theory became clear.
See also in The book of science:
Readings on wikipedia: