This occurs because opals have small bits of water trapped inside of that bend the light. Most opals are located in areas in which, quite a long time in the past, there was a great deal of geothermal action.
This https://idatzfv965883.blue-blogs.com/36767156/the-smart-trick-of-opal-dinosaur-ring-that-nobody-is-discussing