Tin cans in crafting

I was trying to craft soup today and I tried to but it into a tin can. The game said you can’t seal that which is fair enough but when I came back with a bottle I found it had used up my ingredients and poofed the soup in thin air. I assume this is not intended behavour.