The Dynamic Island is mostly software tricks in combination with static hardware cutouts to make it appear as one big cut out.
I'd be willing to be it's a software issue. To confirm, I'd recommend backing up your device, erasing the phone, then setting it up as new. If the issue is still present, then it's hardware. If it isn't present, then it was something in the software causing the issue.