A lot of laws require time to get things set up. Usually the delay is to allow all parties to get ready for the law to take full effect or even to allow some time for the legal system to iron out any potential kinks.
I'd much rather have laws take a little time to come into full effect than whiplash of a law changing in flight. Just look at the tariffs as an example of the mess that can cause.