How do mirages arise?