It's wrong to trespass on other people's property.
Josh was playing baseball with his friends when the ball went into his neighbor's back yard.
Josh wants the ball back.
Josh knocks on his neighbor's door and asks him if he can get his ball.
Josh climbs over the fence and sneaks into his neighbor's yard to get the ball.
Josh's neighbor goes to the backyard and gets the ball for Josh himself.
Josh's neighbor sees him in the yard and calls the cops to report him for trespassing.