By definition, if they were having a hard time filling roles, they were not paying competitively enough to offset their bad reputation.
I bet they could have easily filled the role if they added a zero or two to the compensation offer.
Take for instance booking.com. They unceremoniously dumped lots of their employees at the beginning of the pandemic despite being flush with cash. Then they tried hiring people back. Guess what, lots of people didnt want to even hear how much they are offering. There are other such companies.
But yes, there are people who would not, for instance, work for AWS due to their, shall we say, internal culture.
How they fire people means very little, because very few people in tech think of themselves as the ones being fired in the near future (most likely also why few people in tech are into unions, they don't feel as replaceable as factory workers).