Idealism vs materialism
They think that 1000 queer people getting killed in a proportionate amount of 10k deaths is less damaging to 100 queer people getting killed because they're specifically queer since it's only the intent behind the murders that matter. Not the actual murders themselves
In theory. In practice though, having more wealth does have an effect of which class that person will side with
In your example of the working class elderly with an expensive house, it is likely they will side with the bourgeoisie to further oppress the proles on the matters of rent/affordable property if it means retaining or increasing the value of their property
A wealthy coder for a megacorp often sides with the bourgeoisie because their access to capital affords them similar avenues of exploitation against the working class. Voting against labor laws for Uber/Doordash workers in order to keep their delivery fees down, pushing for more policing of the homeless to keep their property value up, advocating for increased surveillance of people because they're paid in company stock and the more the tech sector grows, the higher their salaries will be pushed due to supply and demand of their job
Now compare that to a petit bourgeois coder who is living paycheck to paycheck and needs to also drive Uber on the side to keep them afloat