For starters; 1. Probably works on other platforms but I haven't tested it. 2. I opened chat to explain it in game but decided against it. 3. I don't have a video editor so that's why it looks a bit weird.
So, when you remove the water source for sugar cane the block doesn't update. This might not be a bug, though I don't recall this in earlier versions of the game so I'm reporting it.
Link 'cause file is too big https://1drv.ms/u/s!At9jSoyVsWQ_gYgC52dCyPw2inXVnw?e=ERhnUc
The sugar cane breaks on the next random game tick. This is intentional behavior per the 1.19.50 changelog: