HR carelessly sent out an interview notification without informing the manager. The manager only looked at the résumé on the day of the interview and directly said that it was unrelated to what you had done before. They were looking for someone with experience, so there was no need to waste time going to the interview.