The Infallible Imams have been asked same question and they relied that : Allah could create all at once but He wanted to show the angles the system of creating things after previous things.
According to Ayatullah Sistani, Muslims are not allowed to violate the law of Non Muslim countries after committing to abide it during applying for Visa or Stay Permit etc. Obviously, the law should not violate Islamic rules.
Which claim is to be countered?
Please write it clearly.