People need to realize that “hip surgery” isn’t some specific thing, and there are lots of different hip surgeries with varying degrees of risk and rehab timelines.
If you are elderly, and have a fall and fracture, then yes there is significant risk involved and it even affects mortality rates.
If you are an older adult and have a hip replacement surgery, there is significantly less risk involved, overall very good outcomes, but the rehab process is long and usually these people aren’t looking to get back to high level activity. In this procedure, a significant portion of bone is removers from both the femur (the thigh bone) and the pelvis and replaced with a prostheses.
Hip resurfacing is an option given to younger, usually more active patients who don’t want/are to young to get a total hip replacement. In this procedure, rather than larger portions of the bone being removed, just the joint surfaces are removed and capped by a prostheses to give the joint a smooth surface. There is less risk in this procedure, but the rehab process is long and I am not aware of the success of it in high level athletes other than some scattered cases.
There are other hip procedure, like arthroscopic surgery, that are much less invasive and, depending on what they do when they go in their, much quicker rehab afterwards. In Nazar’s case, though I admittedly can’t remember exactly where I read it, I thought it was suggested somewhere that he had a sports hernia repair. That is a procedure where they make a repair at the intersection of where a bunch of muscles (abdominal, adductors etc…) come and attach at the front of the hip/groin. If that is what he got, then it isn’t even technically a “hip” surgery, as they did not disrupt the joint capsule at all and would not be anything that should cause problems going forward.