The 3 buckets didn't return, just disappeared, after i crafted the cake.
I see someone reported the similar isseu back in 2013 (MCPE-2680) and was fixed. However, it just happened again now.
Cake takes away buckets along with milk (Win10 only)
Making a cake does not return buckets.