He is on a team friendly deal because he signed it before reaching his peak performance. That is the risk he took, nobody forced him to sign the contract. This is what early extensions are all about- if Tatis stays healthy and keeps performing, he will most definitely be underpaid for a portion of his contract. He signed early, because its a ton of security and the team limits the high end of its risk.