Suffused in mythology, caves like the one where 12 boys were trapped feature shrines to the Buddha, Hindu hermits, and spirit lords alike.