That was often a political matter. For example, the powers in Rome zig-zagged quite a bit their tolerance towards the cult of the Egyptian goddess Isis:
- 54~53 BCE - the Senate demands temples to Isis in Pompeii and Rome to be demolished. Nobody volunteers to the task.
- 43 BCE - the second Triumvirate votes for a new temple to Serapis (basically Osiris) and Isis in Rome. I smell the finger of Mark Anthony on this, he was a bit of an Egyptaboo.
- 28 BCE - Octavian decrees against Egyptian cults. That was four years after the Second Triumvirate was dissolved, it smells like revenge against Mark Anthony.
- 19 CE - Tiberius kills the priestesses of Isis in Rome, and throws her statue into the Tiber. Note throwing things into the Tiber was associated with the cult of Vesta (a native goddess), and it had implications of "purification" - as if Egyptian influence was filthy in Tiberius' eyes.