The Tamato Berry raises the Pokemon's friendship, but it lower it's speed EVs by 10.
If you mean why you would use it at all, it is usually for these reasons.
- You don't want any Speed EVs on that Pokemon and want to invest them somewhere else
- You want to raise a Pokemon's happiness but you don't care about their speed or they have a low base speed
Source