It isn’t a question of spelling. In American English we “line up” or “get in line” we don’t “queue”.
If you’re in London, you can queue for the loo in the flat.
but in America, you line up for the bathroom in the apartment.
I’ll bet you’re over 50. Just a guess. As we’ve become more technically inclined, queuing and queues have entered the American lexicon. It’s been geek-speak since the 80’s.