Data from the Ion Mass Analyzer (IMA) sensor of the ASPERA-3 instrument suite onboard Mars Express and data from the Magnetometer/Electron Reflectometer (MAG/ER) on Mars Global Surveyor have been analyzed to determine whether ion beam events (IBEs) are correlated with the direction of the draped interplanetary magnetic field (IMF) or the proximity of strong crustal magnetic fields to the subsolar point. We examined 150 IBEs and found that they are organized by IMF draping direction. However, no clear dependence on the subsolar longitude of the strongest magnetic anomaly is evident, making it uncertain whether crustal magnetic fields have an effect on the formation of the beams. We also examined data from the IMA sensor of the ASPERA-4 instrument suite on Venus Express and found that IBEs are observed at Venus as well, which indicates the morphology of the Martian and Venusian magnetotails are similar.