I am so sorry to waste your time.
I changed my key to place blocks to c and forgot about it. Everything is working just as expected.
No that is not the issue.
It is definitly not spawn prot because I teleported myself to 10000 on x and 10000 on z and spawned somewhere in the hundreds.
I rejoined my world and I still couldn't place blocks or open chests.
I am so sorry to waste your time.
I changed my key to place blocks to c and forgot about it. Everything is working just as expected.