Desert temples can now generate on water, which isn't supposed to happen. This is likely because this bug was carried over from the Experimental Snapshot 3 on Java Edition.
Step to Reproduce
1. Create a new world with the seed -4225. (for 1.18 beta worlds)
2. Go to -6 69 -239 to the desert temple.
The desert temple should be generated on the ground surface in the desert biome.
It somehow generates on water.