What do you mean by granting and authorizing patents?

A valid patent means that it has been authorized and is valid for 20 years.

If the application has been accepted, has not passed the substantive examination and is not authorized, it shall not be regarded as a "valid patent". +

That is, one passed and the other is still under review; One is valid and the other is temporarily invalid.