If it's compatible with the AVR, the PWM frequency is about 1kHz. So delaying 500us between calls to analogWrite() will interrupt/reset the PWM (or something) before even one cycle has completed. I don't think it's 'defined' what happens in that case, and it doesn't surprise me that it's weird.