Religion, and strict adherence to these laws by the general population, is a relatively late phenomenon. It only became as strict as it is now during the middle ages and more so in early modernity. Your Jewish friends are, to a large extent, a product of 18th-century Eastern European Jewish culture and Western / American homogenised understanding of religion.