Is it rude for a kid to reply with 'what' to an adult?

I don’t think it’s rude, but it literally doesn’t tell anyone that you didn’t hear what they said. Just makes it sound like you didn’t comprehend lol. Teaching mine to say “can you repeat what you said?”