They're not exactly "aromatic" per se, but they are part of the pi system. If you have a lone pair adjacent to a p orbital, it goes in a p orbital too. P orbitals on adjacent atoms do strange and interesting things. I'm guessing they maybe touched on that in class? The things going on in the first structure aren't always explained so well.