I forgot to mention that stainless bolts & nius - as Big Tracks points out - tend to gall and after awhile stick together and upon removal the bolt or stud shears.

The usual stainless bolt you buy - 308 & 316 - is about equal to grade 4.

ARP has stainless bolts that are rated higher than good ol grade 8 so I'd make a point to use those.

Along those same lines, use Never-Seize on stainless bolts & nuts - even with nylocks.

I had the integral stud from a Deuce Factory stainless lower shock mount seize the nut and shear off.
That was a fun project to set up in the lathe for drilling and tapping for a replacement stud.
The shock mount was repairable and too darned expensive to throw away.

I use Never-Seize on the nylock shock nuts and have never had a problem with them loosening.

I'm pretty sure the galling is a mechanical thing that probably starts at the microscopic level.
Along with that electrolysis can rear it's ugly head which can lock nuts & bolts together.
Especially when a stainless bolt is used in threaded aluminum.