How do you develop that skill - anticipation? What a game changer that would be. What if you guess wrong?
While I've used the word "anticipation", it's not absolutely correct what is going on.
At higher levels of rec tennis, execution of shots becomes consistent through proper footwork and stroke preparation. These are visible before the ball is hit, so those with "good anticipation" notice these signs and may make slight adjustments to favor the ball going to the intended location.
This isn't something necessary in most neutral hitting unless the opponent is just clobbering the ball and can hit it by you if you stay in a neutral position. You don't want to commit to moving in a certain direction if you don't have to. So usually someone who is said to have "good anticipation" is in response to a situation where they are under pressure, yet make the correct decision and are in position to do something on an aggressively hit ball by their opponent.
So a basic example. Let's say you cough up a short mid-court ball. Your opponent runs up to it to hit a forehand approach shot that, because they are close to the net, will put you under considerable pressure. There are a few ways to tell where your opponent is most likely to hit the ball.
First, if they run straight at the ball, it's almost always going to go crosscourt. It's very difficult to run straight at the ball and hit it down the line - if they decide to do that and make it, well, you've made them hit a difficult shot. If your opponent instead runs towards the ball using a "C" shape where they go well towards their backhand side and then move back towards the center of the court to hit the forehand, that shot is most likely going to go to your backhand.
You can also tell by how the racquet is taken back. Most people hitting crosscourt won't need as much shoulder turn as if they were going to hit it inside-out to your backhand. Also, if the ball is close to them, it's more likely to be hit crosscourt. Greater spacing usually means inside-out.
Also, over time, you can see which patterns your opponent wants to do, and what they don't want to do. All of those things can help you anticipate where the ball is going to go, and when you are under pressure you can lean towards that side to get a jump on your shot.
This tends not to work at lower rec levels, where footwork and timing and swing preparation are all over the map. But at these lower levels, the ability to hit a forcing shot is not as great either. At the highest rec levels, disguise becomes an issue, but usually disguise comes with a slightly less effective or consistent shot. So you want to force your opponent to do the more difficult thing while you cover the most likely thing. If you guess wrong, you guess wrong. Put that into your database for the next time that situation comes up.