The key thing is understanding that retirement from argentina and retirement from club football are two completely separate announcements. messi called it quits on international play in 2024, and that hasn't changed - he's not wearing the argentina jersey anymore. when he scored for miami, that was club football, which was never part of his retirement statement. so the headlines saying "he's still retired" are talking about his national team status specifically.
it's honestly just confusing wording by a lot of outlets that don't bother distinguishing between the two things. people see "messi retired" and assume it means done with soccer entirely, then they see him playing and think he unretired. but really he just ended one chapter (argentina) while continuing another (his club team). think of it like someone retiring from their main job but still doing freelance work on the side - different gigs, different contracts, different worlds.