It's not your scalp that changed, it's just that the treatment is gradually wearing off and your hair is going back to its natural behavior. Brazilian straightening creates a protective layer around the hair shaft, but it slowly fades away with shampooing and time. So after 4 months, the roots that grew in during that time start showing their true nature - and apparently it was curly, not straight like you thought.
Here's a question I'm wondering about for you, though: are you sure your natural hair was actually straight before, or did you just have a permanent chemical straightening treatment done on you years ago? Because it's pretty common for people to think they have naturally straight hair when they've already had a treatment before. If you look back at photos from before your Brazilian straightening, you might notice that the roots already had a slight wave to them. Otherwise, your hair type might have just changed with age or hormones, that happens too.