From my understanding, finding loopholes against restrictions is a habit they justify due to their claimed lineage from prophet Israel (Jacob) who defeated god in a wrestling match (according to the Torah). The logic is: if Jacob can defeat god, and if we are children of Jacob, then we can also defeat god.
Some notable examples:
• drawing a wire (eruv) around Manhattan to bypass Sabbath restrictions outside your house (eruv is supposed to be the fence around your house).
• forbidden to kill a specific criminal, so they tied him to a tree until he died of starvation.
• forbidden to carry keys on Sabbath, but if you wear a belt, you can hang the keys on the belt.
Lol
I don't wanna talk religion indepth but loopholes have a strong association with this religion.