I think this is the confusion.
Tennis players and other pro athletes are required by anti-doping rules to specify where they will be available for a one-hour period each day to give samples for testing.
The female testing agent showed up at Vondrousova’s home outside the assigned hour that the player signed up for that day — in a surprise test. Athletes are required to submit for testing if they are located for a surprise test outside their assigned hour. If they are not found when a tester shows up outside assigned hours, there is no sanction.
She hadn't played since January, and she claims her mental health is not in a good state. Overall it looks like a panic or freakout from her side.
The ruling is justified IMO.