The Interplay Between Massive Stars and their Associated Nebulae within the Milky Way and Large Magellanic Cloud