We investigate the \(DD^*\) and \(D\bar{D}^*\) momentum correlation functions in high-energy collisions related to the properties of \(T_{cc}(3875)^+\) and \(\chi _{c1}(3872)\) exotic hadrons. The two-particle momentum correlation functions can be computed from the interaction between two particles. The one pion exchange interaction model, which is mainly considered as the interaction between two hadrons, is valid for long ranges ( \(>1\) fm). Based on experimental data, we constructed Gaussian potential and Yukawa potential as long-range interaction models. Meanwhile, a short-range interaction between two mesons is constructed from the interquark interaction in the exotic hadron state described in the constituent quark model. We compare the \(DD^*\) and \(D\bar{D}^*\) correlation functions computed for these short- and long-range interactions when \(T_{cc}(3875)^+\) and \(\chi _{c1}(3872)\) are close to the compact diquark–antidiquark configuration and the meson–meson molecular configuration, respectively. As a result, correlations were greater than 1 with long-range interactions and less than 1 with short-range interactions.