When I delete a selection sometimes it gets filled with a solid colour
I don't know why this happens when I simply want to clear the selection. I am using a iMac on OS Monterey 12.5.1 16gb of memory. 1 TB of storage space. I have GIMP 2.10
If you see the screen capture, it seems to have gotten filled with a square colour that is set as the background colour. Note, the background default is set to transparent in the settings. When I delete the selection it should only allow the next layer image to come through which it is not. I have to use the back arrow delete key and not the one that is spelled out "delete" on my particular keyboard. This problem regarding the unwanted colour fill doesn't happen each time. Normally when this happens though, I have to add the image again to a new layer.
Any possible resolution or help would be appreciated.