Yes, I think it's a coincidence. The language of the law specifies the ban will go into effect 270 days after the law's passage. I don't think any one law maker can perfectly predict how long it will take for a law to make it through the House, Senate, and Presidential signature. This law was introduced on March 5, 2024 and signed by Biden on April 24, 2024.