If someone else's family didn't receive a similar gift when they got married, but you just received a wedding cake, it has two meanings. First, a married friend may soon become a parent. Share happiness with a better friend because he is happy. The other is pure happiness, because it can't be expressed in words, so returning the wedding cake is my little gift.
In short, no matter what it means, it is a happy thing, so we should congratulate each other in time.
If my answer is accurate, please adopt it in time.