In cases A, B, and C, light slows down as it enters a different medium: glass in case A and B, and water in case C. However as sunlight travels through space and reaches the earth it travels without being blocked through a vacuum and is not refracted.