I haven't used Cognito or Google's one, but Azure AD B2C is a complete mess. Or it was 3 years ago. A disaster of poor configuration options, and poor documentation, and even when we spoke to internal Azure engineers they said the same.
Stick with something like Auth0, or self-host Keycloak. Don't use the Azure one if you can at all avoid it, at least for B2C applications.