What went wrong with my bicycle tire?

My front and rear bicycle tires were flat at 0 psi when I used the Oasser Air Compressor Electric Inflator Portable Hand Held Pump to refill them with air. I filled the front tire to 36 psi when it appeared that the tire was beginning to slide out of the metal rim before popping 30 seconds later. It appeared that... show more My front and rear bicycle tires were flat at 0 psi when I used the Oasser Air Compressor Electric Inflator Portable Hand Held Pump to refill them with air. I filled the front tire to 36 psi when it appeared that the tire was beginning to slide out of the metal rim before popping 30 seconds later. It appeared that the inner tube was stretching and it popped. The rear tire was perfectly fine to fill up which I did although at a lower number to 20 psi. The front tire is rated to inflate up to 40-65 psi while the rear tire is rated to inflate up to 50 psi. Also, the front tire is about 1 year old while the rear tire is 12 years old. Could it be that the front tire failed? Maybe it was not in the rim properly? Any recommendations for newer and better tires? How much longer until rear tire may need replacement?
Update: https://s.yimg.com/tr/i/2f3bff848de140d3b34f42da6fc7e498_C.jpeg
Update 2: https://s.yimg.com/tr/i/3d8efc4023f14355af2e52e83d9f1973_C.jpeg
3 answers 3