My iOS device kept turning Do Not Disturb Mode on automatically, despite turning it off numerous times a day, this would affect all my Apple devices as I shared my Focus modes on all devices.
I tried everything, Shorcuts app, automations, focus modes, location-linked focus modes, I deleted all focus modes.
I finally got to the bottom of it and it seemed when an update came in, my current wallpaper got updated to be linked to the Do Not Disturb Mode. This meant that even though I continued to turn off the DnD mode, it would just randomly turn back on throughout the day. - I was able to fix this by going into Edit Wallpaper Mode from the Lock Screen - Where the focus mode option showed at the bottom of each wallpaper. Unlinking the DnD mode prevents it turning on again.