Often, these files are part of "doxing" or the distribution of non-consensual imagery, which is illegal in many jurisdictions and a violation of platform terms of service.