Of course the relationship between FTP and Pmax changes. Bernal can put out 6 w/kg for over an hour but probably can’t sprint much higher than 10-12 w/kg. Track guys can do 10 w/kg for 60s but don’t crack 4 w/kg for 60min.
Both are dependent on genetic predisposition. Both are based on what training you do. The genetics and training to be good at one generally rob the other.