My cat urinates just outside her litter box, not even 2 inches away. Why?
Something is wrong with the litter box. She wants to use it or she wouldn’t get so close to it. Usually this happens when the litter box is dirty. Have you recently changed brands of litter? Maybe the litter box is too small to accommodate her. After you have fixed these things, don’t forget to praise the daylights out of her when she does use it. And resolve to always keep her litter box spotless. How would you like to use a toilet that was only flushed every other day or so?