The weird thing about the arrow of time is that it's not to be found in the underlying laws of physics. It's not there. So it's a feature of the universe we see, but not a feature of the laws of the individual particles. So the arrow of time is built on top of whatever local laws of physics apply.
— Sean M. Carroll