Has either team ever been in the top half of payroll? I don't think so. Why should people show up when the owners themselves don't care?The Marlins have existed since 1993.
The Rays have existed since 1998.
Even though both franchises have reached the World Series, neither one has proven to be able to consistently draw fans to the ballpark.
The Marlins have never ranked higher than 5th in the NL in attendance, and have finished in the bottom 4 every year since 1998 with the sole exception being 7th in 2020.
The Rays have never ranked higher than 7th in the AL in attendance -- and that was in their 1st season.
It's quite possible both of these franchises are profitable. I don't think their finances are exactly public. But it's clear that fans simply do not care about these teams.