I suspect this was just an act.

Kevin Federline wants the kids and demanded that she get a drug test using her hair, so she shaved it off. Her going crazy and trips to rehab just make the head shaving less suspicious.