Before guided bombs, only the dive bombers had a good chance of responding to the maneuvers of an evading ship. Even so it was hard enough to correct a dive laterally that the hit rate wasn't that great compared to a no maneuvering target.
Im sorry but I don't agree. Torpedo bombers, operating with other torpedo bombers could employ anvil tactics and be very effective against shipping,, with comparable loss rates to divebomber attacks. Level bombers, operating at very low level, in concert with aircraft used in flak suppression, such as occurred at bismarck Sea were also very effective. There were many other combinations of these basic mixes in force structure.
Its also worth pointing out that some of the greatest maritime tallies were achieved by sircraft like the Swordfish. In 1941 for example, Malta based Swordfish are estimates to have sunk at least 250000 tons of enemy mercantile tonnage. that sounds like a fairly modest total, until it is realised that the average availability for these attacks were often less than 5 a/c at any one time .
In the Korean war era, some of the most efficient shipping killers were aircraft like the Firefly, which were not a divebomber. they were essentially fighterbombers, optimised for air to surface attacks. The RAN squadrons used in this capacity did not use guided weaponary, they used unguided bombs mostly.
The germans used divbombers, and they were effective, but this effectiveness often masquerades as the only means of sinking ships or carrying out effect air to ground support. Look a little closer and this rapidly is exposed for the myth that it is.
Your second point about "hit rates not being that great" is also able to be unproven. During the attacks by the IJN on HMS Cornwall and Dorsaetshire, the IJN divebomber group involved is known to have achiecved a hit ratio in excess of 80% Thats exceptional, no one has ever come close to beating it before or since, but still there weree many instances of achieving hit rates in excess of 50% If you have well trained crews, relatively unprotected targets, that arent moving too quickly, a lot of hits are likley no matter what the delivery system.