On august 9, 2019 in phoenix, az my boyfriend and i observed a pill-shaped object at roughly cruising altitude (30,000ft or more). we first saw the object towards the west and the entire object appeared illuminated and had a soft glow, but still bright enough to see it. it then proceeded to tumble end over end horizontally and momentarily paused before passing in front of the moon. after the brief pause, it changed direction towards the northwest, the object was no longer tumbling, and began a directional path. then the object changed it's direction and headed west at a much faster speed until we could no longer see it. the object almost appeared as though it was able turn off it's illumination and turn it back on.