I think it depends on the situation. On one hand anyone who has been at home with young children knows that using the phrase "doss around " is laughably ignorant and highlights the desperate need to feel superior. I've literally managed teams in prison riots ....still easier than staying at home day after day with young children. I've both been the higher earner and provider and a sahp. I've never found that there is any resentment.
But and this is a big but. There has been a clear reason , I do not agree with the cop out about not bothering to have young children if you have to put them in nursery. Lots of children flourish in childcare and learn an excellent work ethic from watching their parents progress int their career. By the same bat some children need a parent at home and need the consistency and extra input from a sahp.
What I do think though is there is understandable resentment when the sahp takes it as a given that they should be able to stay at home, does it because they don't feel like going back to work , and honestly I do think they need to increase their chance of employability when it comes to the point its appropriate to return. I had to give up work in lockdown. For a variety of reasons it's impossible to find appropriate childcare for my DC. Dp is away a lot in the week and we tried several ways but it simply can't work.
However my DC are at school for a few hours a day (ds2 for 2 hours currently and not full time until October) , after school childcare has completely shut to non keyworker locally. I am using the downtime to apply for and complete a masters that will qualify me in a profession I know I will be able to get work in , in the meantime I've completed 4 short courses to be able to deliver online teaching , I am also writing a book on professional topics I can sell to bring in some money. If your DC are old enough (babies not included as above that is a full time job in itself ) then I can understand resentment if you are not at least trying to improve the options of returning to work. Even if it takes years.
I have friends in similar situations , I also have an extended family member who insists she should not have to return to work until her DC are in senior school and openly states she probably won't be able to then as all her qualifications are out of date. She could do a lot to change that but chooses not to.
So ultimately it's why the sahp is at home, what the plan is for the future and the behaviour at home. I don't think you can ever answer for anyone else without knowing their situation. At least not in a generalised fashion.