Wells Fargo beat second-quarter profit estimates on Tuesday but cut its 2025 guidance for net interest income.