Perhaps you're thinking had there been an official invitation and Ukraine quickly accepted then there wouldn't be a Russia-Ukraine war as they would be covered under article 5. I think it's an open question if the US would declare war on Russia in such an instance. I think the reluctance to allow a quick ascension in the first place is born out of the same reluctance to enter such a war. The US is only as bound by treaties as it wants to be. The US could of course meet the letter of article 5 but not the spirit by providing a token response instead of the total war response people are expecting.