The flip side of this is that the sometimes the judge will not award you attorney's fees even though it's a reasonable ask. I've sued companies three times in my life, and only one out of those three times was I awarded attorney's fees, even though it was requested all of those times.
Not to go into too deep of details, I'll also say if you ever do business across an international border, even with a company that is headquartered within walking distance of where you live, they /will/ find a way to weasel out of responsibility, even if they have a signed contract saying they're responsible. Once any sort of business crosses an international border, the only way you can hold a multi-national company responsible is if you represent a government that is an ally of the US and can bring to bear full military force, otherwise they /will/ screw you over.
In fact, the primary component of my debt post-college was paying back attorney's fees for cases I had won (or had won / appealed several times until I settled because I could no longer afford to pay for attorneys).
Personally, I am a major supporter of the idea we should have it be written into law that the party that doesn't prevail is responsible for attorney's fees for both parties automatically. That said, I also understand that this could be disastrous for smaller entities suing larger entities if they lose (to which I mostly say... don't file frivolous suits).