What is the science behind the making of laws?

Why is imprinting stronger in certain types of birds- for example ducks?

Are our day-to-day interactions helped by social media or hurt?