Genuine question

Edit: change the title from “Why can Socialist Market Economy be categorized as socialism, and why is NEP categorized as state capitalism?” to “Why can Socialist Market Economy be categorized as socialism meanwhile NEP is categorized as state capitalism?”