Probably not. There's little evidence that hygiene had to do with it. Most likely it was about separation of the tribes. Back in the day there were all these tribes wandering around Canaan. In order to develop and maintain tribal loyalty the leaders found ways to make their tribe seem special so they instituted restrictions and told their followers that this was the word of God. Those restrictions were largely in the context of what other tribes did: If they eat certain things, we don't. If they pray this way, we pray that. Some of these behaviours became defining, others got lost over time or because they were not practical to maintain, or because social mores meant that people were no longer prepared to adhere. By this time the rabbis were pretty good at following the lead of the people, or adapting the rules, rather than risk them abandoning a faith that didn't fit their value system.