I try not to judge but it's natural to notice.
I don't care about someone's weight if they give advice about weight, the most important thing is the tone they deliver their message in. I recently had my NHS 40s health check with a pretty overweight HCA. They knew their stuff, it was a nice meeting with no judgment felt at all, just advice on best practice. You don't need to be slim to know eating a lot of processed food isn't good for you. They didn't reference their own weight but did understand me when I talked about not getting enjoyment from exercise. If I go for a run, I just feel tired after, not energised! So in the context of the advice to increase activity, my 'barriers' were met with understanding, and I really appreciated that.
I'm also aware things like shift patterns can really impact how easy it is to maintain a healthy lifestyle - I've not been in that boat but it's not a hard stretch to see long hours, night shifts, shifting between the two etc, will be a natural trigger to dysfunctional eating, a hurdle most people don't have.
However, there are issues with weight interfering in the speed of delivery of care provision in medical settings, and in this situation I do thing it can be problematic. Excess weight very often leads to physical problems with backs, knees, etc etc, which has a direct impact on someone's ability to do a job which is often physical. It's really hard, but this exists in many physical jobs. We have a contract cleaner at work that is incredibly slow due to their weight, at what point do you say 'you can't do it!'? It's so hard! Hospital nursing and care staff whose physical weight impacts the way they do their job - it's a difficult conversation to have.