No law but often no common sense
I was anchored fishing whitefish and a boat parked right over my anchor rope
After the second time he lost his jig to my rope he moved. But asking him to move didn’t help
There is a law against interfering with fishing. But it would also depend on where you are fishing.