To reproduce:
Open a superflat world.
Dig down to bedrock.
Place a sticky piston facing up
Power it so that it pushes the block and then unpower it
Result is that the block will stay floating and will not retract. When placing the exact same setup a layer up on dirt it will work as intented
Duplicate of MCPE-96088