Not to get too reductive or anything, but the reasons are very similar to why people have the authority to compel public expectations based on the arrangement of atoms (e.g. you aren't allowed to stab me, etc.). Namely: those with the power to enforce those rules think it's a good idea to do so, and the public continues to support that configuration of the legal system.