The heat of formation of a neutral molecule is important in mass spectrometry because in order to measure the characteristics of individual molecules, a mass spectrometer has to convert them to relevant ions. Once ions form, they can be moved about and manipulated by external electric and magnetic fields as depicted in following sketch of mass spectrometer (MS):

The Ion Source, the Mass Analyzer, and the Detector are the three main components of the mass spectrometer. The Ion Source, which can be considered as the heart of the spectrometer, is the one needed to ionize individual molecules. Electron Ionization (EI) is the most common ionization technique used for mass spectrometry (Note: Older literature usually refer to EI as Electron Impact, but Electron Ionization is the currently accepted term; EI works well for many gas phase molecules, but it does have some limitations as well, such as causing extensive fragmentation so that the molecular ion is not observed for many compounds). In this ionization technique, molecules of the sample are bombarded by electrons generated from a heated filament (see the insert red box in the diagram). The electrons are produced by passing a current through the filament. The amount of current controls the number of electrons emitted by the filament. An electric field accelerates these electrons across the source region to produce a beam of high energy electrons. When an analyte molecule (usually organic molecule) passes through this electron beam, a valence shell electron can be removed from the molecule to produce an ion, mostly a positive ion (Note: Ionization does not occur by electron capture, which is highly dependent upon molecular structure).
Since the ionization is produced by a single electron that is accelerated to $\pu{70 V}$, the technique is commonly referred to as $\pu{70 eV}$ EI. This high energy electron collides with a molecule (analyte), it transfer more than enough energy to over come ionization energy of the particular site (usually a electron from a lone pair of oxygen of carbonyl group or alcohol group) of the molecule, often ionizing the analyte by knocking away one of the molecular electrons (either bonding or non-bonding). The resultant ion is a radical cation. This web page describes the possibility of the fragmentation happens in mass spectrometer:
The amount of energy transferred during this process depends upon how fast the electron (from ion source) is traveling and how close it passes to the molecule (analyte). In most $\pu{70 eV}$ EI experiments, approximately $\pu{1400 kJ/mol}$ ($\pu{15 eV}$) of energy is transferred during the ionization process. There is, however, a distribution of energy and as much as $\pu{2800 kJ/mol}$ ($\pu{30 eV}$) is transferred to some molecules. Since approximately $\pu{960 kJ/mol}$ ($\pu{10 eV}$) is required to ionize most organic compounds and a typical chemical bond energy is $\pu{290 kJ/mol}$ ($\pu{3 eV}$), extensive fragmentation is often observed in $\pu{70 eV}$ EI mass spectra. The distribution of energy transferred during ionization and the large number of fragmentation pathways results in a variety of products for a given molecule. Other electron voltages may be used to vary the amount of fragmentation produced during ionization. For most organic compounds the threshold energy for EI is about $\pu{10 eV}$. After ionization of the molecule, the residual energy from the collision may cause the molecular ion to fragment into neutral pieces and smaller fragment ions. This fragmentation can be through either homolytic cleavage or heterolytic cleavage. The molecular ion is a radical cation, but the fragment ions may either be radical cations or carbocations, depending on the nature of the neutral fragment. For example, Fragmentation of Toluene is depicted in following diagram:

Important: In Mass spectroscopy, the electron volt ($\pu{eV}$) is frequently used as an energy unit (for single molecules or atoms). Keep in mind that $\pu{1 eV} = \pu{1.6022 x 10^{-19} J}$ (per molecule or atom). Thus, $\pu{1 eV}$ (per molecule or atom) $= \pu{96.4152 kJ/mol}$.
A recent publication described why most fragmentations in mass spectroscopy preferred homolysis over hererolysis (Ref.1):
Bond strength is an essential parameter for discussion of bonding and reactivity. While bond fission can occur by homolysis or heterolysis, for neutral compounds such as alkanes the term “bond strength” generally denotes rupture by the lowest energy homolytic pathway. For example, the $\ce{C–C}$ bond strength in ethane is listed as $\pu{359 kJ mol–1}$,$^{[Ref.2]}$ representing homolysis, which requires one-third of the energy for heterolysis ($\pu{1297 kJ mol–1}$).$^{[Ref.3]}$
In addition, Ref.4 is a great review on mass spectrometry‐based analysis of protein structure.
References:
- Karlee L. Bamford, Saurabh S. Chitnis, Rhonda L. Stoddard, J. Scott McIndoe, Neil Burford, "Bond fission in monocationic frameworks: diverse fragmentation pathways for phosphinophosphonium cations," Chem Sci. 2016, 7(4), 2544–2552 (doi: 10.1039/c5sc03804a).
- Donald F. McMillen, David M. Golden, "Hydrocarbon bond dissociation energies," Annual Review of Physical Chemistry 1982, 33(Oct), 493–532 (https://doi.org/10.1146/annurev.pc.33.100182.002425).
- Pratim K. Chattaraj, Andres Cedillo, Robert G. Parr, Edward M. Arnett, "Appraisal of Chemical Bond Making, Bond Breaking, and Electron Transfer in Solution in the Light of the Principle of Maximum Hardness," J. Org. Chem. 1995, 60(15), 4707-4714 (https://doi.org/10.1021/jo00120a010).
- Frederik Lermyte, Dirk Valkenborg, Joseph A. Loo, Frank Sobott, “Radical solutions: Principles and application of electron‐based dissociation in mass spectrometry‐based analysis of protein structure,” Mass Spectrometry Reviews 2018, 37(6), 750-771 (https://doi.org/10.1002/mas.21560).