Obviously, light is not a tennis ball, and the surface separating air and water or glass is not a thin fabric, so this is an analogy of dubious relevance, especially for Descartes, who thought that light, unlike tennis balls, always travels at infinite speed.