Peyos Prohibitions

The Rambam uncharacteristically adds a reason to the prohibition against cutting peyos. He says it is because the idol worshippers used to cut off their peyos. Hashem did not want us to be similar to the idol worshippers. This is fascinating, as this reason is not found in the Gemara. Indeed, the Tur comments, “This (reason) is not explicit (in the Torah), and we do not need to seek reasons for mitzvos.”
The Beis Yosef adds explanation to the Tur’s comment: “And regarding what our master wrote – “this (reason) is not explicit (in the Torah), and we do not need to seek reasons for mitzvos” – his words clearly show that his opinion is to argue against the Rambam: Why should we try to find reasons on our own for mitzvos? Because it would seem that, if we did not know the reason for a mitzvah, we would not be obligated to fulfill it – but that is not the case!
“Rather, the mitzvos are the decrees of the King upon us, and even if we do not know their reasons, we are obligated to fulfill them. However, I say: Heaven forbid to think that the Rambam would believe otherwise! Who cherishes the honor of the Torah and mitzvos more than the Rambam?! Instead, although all the statutes (chukim) of the Torah are decrees of the King (and binding even without knowing their reasons), nevertheless, wherever it is possible to find a reason, we should give one – similar to the opinion of Rabbi Shimon, who interprets the reasons behind Torah verses. And where no reason can be found, we should attribute that to the limitation of our understanding – but regardless, we are obligated to fulfill all mitzvos, whether we know their reason or not, since they are the King’s decrees upon us.”