The upside down U.S. flag is an official signal of distress. It is not meant to be and is not officially recognized as any type of disrespect when so displayed for the right reasons. To the contrary, here is the relevant part of the US Code of Laws regarding how to fly the flag when in distress:
THE FLAG CODE
Title 36, U.S.C., Chapter 10
As amended by P.L. 344, 94th Congress
Approved July 7, 1976.
§ 176. Respect for flag: No disrespect should be shown to the flag of the United States of America; the flag should not be dipped to any person or thing. Regimental colors, State flags, and organization or institutional flags are to be dipped as a mark of honor.
(a) The flag should never be displayed with the union down, except as a signal of dire distress in instances of extreme danger to life or property.
Most individuals who have served in the military service of our nation will (or should) recognize this signal.