Answer:
The second law is not violated because the those objects become more ordered as a result increasing entropy in the surrounding.
Explanation:
The total entropy in the universe does not decrease. For example, water freezes because it transfer heat to a colder source (the air current), making the entropy of its surrounding increase, more than make up for the decreased entropy in the water.