Can’t break anything near by base?

I’m playing in a Minecraft server and then this happened. No idea why. I’ve been building there fine for a couple days. It MAY have something to do with me destroying a temporary bed I was using and then dying, but I’m not sure if it started after that.

I can build fine about 15 blocks away from where my base is.

Could it be server spawn protection? I know a lot of Minecraft servers use spawn protection to avoid griefers, if so how do I turn it off?