Torches that are placed sometimes unload and reload underground with lighting errors.
Related issues
Attachments
Comments

Does this happen after changing dimensions specifically?

It happens after unloading and reloading the chunks or after changing dimensions which does something similar.

Thank you for your report!
We're actually already tracking this issue at MCPE-69037, so I will resolve and link this ticket as a duplicate.
If you would like to add a vote and any extra information to the main ticket it would be appreciated.
If you haven't already, you might like to make use of the search feature to see if the issue has already been mentioned.
Quick Links:
📓 Issue Guidelines – 💬 Community Support – 📧 Customer Support – ✍️ Feedback and Suggestions – 📖 Game Wiki