Weird thing is that it seems to be working on my end.
I've installed every mod you have in the screenshot (except for the 'Item Request Proxy Events' mod, I could not find that one anywhere), all with default settings.
This mod allowed me to place walls and gates on shallow water and marsh, which are the only water tiles in the base game that can be walked on too.
However it did not let me place walls and gates on regular water, which is normal.
You cannot find shallow water and marsh in the default nauvis world generation, from what I know, these mods change that:
https://mods.factorio.com/mod/the_shallows_updated
https://mods.factorio.com/mod/alien-biomes
PLEASE let me know if you're seeing something different and I will do my best to investigate the issue. Footage and lots of information definitely helps!
If you want me to make a feature which allows you to place walls on any water tile in the game, that is something I can do.
Me trying to replicate the issue:
https://cdn.discordapp.com/attachments/1217664166064816188/1524467396570779768/Factorio_-_2026-07-09_3-25-43_AM.mp4?ex=6a4fda66&is=6a4e88e6&hm=906e302fc574e996aae481cfcd4beda7e8895beac1d604f229f63382193e742a&
(It's currently 3:42AM for me atm but I will be happy to help once I wake up)