Maxwell's curl equation for electric field says that time varying magnetic field produces electric field instantaneously but nothing can happen instantaneously according to special relativity. What is the mistake in my understanding since Maxwell's equations are accepted?
Since nothing can happen instantaneously so how is changing magnetic field producing the electric field instantaneously in EM wave according to
$$E(x,t) = E_\text{max} \cos(kx - \omega t+\phi)$$
$$B(x,t) = B_\text{max}cos(kx - ωt + \phi)$$
which shows that they are in phase(means no delay)? I feel there should be some delay in wave of electric field as nothing is instantaneous( vice versa if changing electric field).
Please give an intuitive understanding. Thanks in advance.
Edit: the argument I am giving here is different from the question mentioned in possible duplicate. I am asking about instantaneous production of field and not about how they have same expressions.