That's due to something called aliasing. You see you can hear from 20Hz-20kHz so you need to sample sound at twice that frequency. This is why CDs use 44.1kHz. Now I know what you're thinking. Your sound is sampled at 44.1kHz or 48kHz, and you're right but hang on.
Whenever you display your audio on your screen you're effectively resampling a sampled waveform. Your program is deciding to display each second of audio as a certain width on the screen. This corresponds to a certain number of pixels per second. So if you have a 1600x900 pixel monitor displaying 8 seconds of audio on a full screen you have 1600/8=200 pixels per seccond. So you're now viewing a signal that has been resampled to 200Hz which causes all kinds of nasty stuff. If you were to zoom in on the signal you would probably notice they're the same up close. If your program doesn't support that try an oscilloscope program.
200Hz gives you 100Hz bandwidth which is fine for most audio editing functions. You're supposed to be able to see relative volume at a glance. You're getting an idea of the envelope and amplittude over time. You'll be able to see any clipping that's occuring. What you're not going to be able to do is get a detailed view of your 44.1kHz wave form after it has been resampled to 200Hz.
All sounds are made of sinusoidal waves added to each other. So say you have a 1kHz sound wave at cos(2*pi*1000*t). If you start your samples at t=0 vs your sample at t=1/2000 (we're using seconds for t and radians for cosine) you get signals that are upside down(180 degrees out of phase/ or inverted polarity in electrical terminology). It's the same signal and sounds exactly the same because that t=1/2000 is just a .5ms time shift. If you swap the polarity on a speaker you can't tell the difference as long as you swap the polarity on all speakers at the same time after all. At each pixel you're sampling the waveform. The pixels don't line up the same way every time so you get an effective shifting in time. It just so happens that this particular signal is inverted when you resample and shift it using this particular resample and shift. This is because cos(x+pi) = -cos(x) (radians again). Cosine is called an odd function for this reason. What that equation says is that if you shift a cosine wave in time by a certain constant, it is equal to itself only negative. Notice something else interesting
cos(x+pi+pi) = -cos(x+pi) = cos(x)
This means that if you shift a signal by the amount required to invert it and then do it again, the signal ends up equal to itself. Also pi radians equals 180 degrees. That's why it is called a 180 degree time shift.