That happened to my wife a few years ago. Went to renew her Ohio license, had a ticket from New York. A real pain to sort out.
I guess these are unintended consequences of the drivers database - clearly the idea wasn’t well thought out. yikes!