Aluminum and Oxygen Isotopic Ratios in Meteorite Grains: a Puzzle Solved By Nuclear and Stellar Physics