IIRC, the bombers were flying pretty low over the dreadnought, (which is why they were so vulnerable to enemy fire) so the gravity or magnetic field of the dreadnought could come into play keeping the bombs going to way they’re supposed to go. The bombs actually resemble magnetic sea mines.
That is an interesting and acceptable idea and would have worked in the movie if it had been communicated to the audience.