الجواب وبالله التوفيق
It is impermissible for any Muslim to consume something on which the name of an idol was taken or which was offered in anyone but Allah Subhanahu Wa Ta‘ala’s name.
If they share sweets etc. on the occasion of their religious festivals with you, it will be impermissible for you to eat it. However on our religious occasions we can share food etc. with them, there is no Shar‘ai contention in doing that.
واللہ اعلم بالصواب