So this bug has been happening to me for about 4 months now. This bug will usually happen when I play eggwars. There would be a egg defense around the egg and as I try to break the egg defense the blocks will break then immediately replace, and that cycle will just keep going on until you break a different block or try to break it again. Sometimes the cycle will happen for 3 seconds, sometimes even 20. This bug is so annoying because it cost me so many deaths and L's in eggwars. I already forwarded this bug to bedrock bug reports in the beginning of this month but it appears to be still happening. Hopefully this forum will bring more attention. Here's a video with a example of it.