It’s governments with similar cultures and practices, all tackling a relatively new phenomenon.
Coming up with similar laws could just be convergent evolution rather than coordination.
You also can’t discount that once one country has tried it others that we’re considering similar legislation are much more likely to take the plunge if the outcomes in the first country aren’t negative
I don't think Europe and the US share enough values to do it on a lot of fronts, so perhaps that will shield me as an American.
But it seems like a lot of that coming down the hatch for most of Europe.