HTTPS Error 521 after changing the hosting by a records

I have recently changed my hosting from bluehost to GCP and I have just changed the a recods. Now the site is loading fine with new hosting but only on non https and https is showing Error 521.

I am not sure what to do now or maybe i am using wrong methord to change hosting.

Did you check your GCP console if HTTPS is allowed?