The issue is that Webflow looks for the data-wf-page attribute on the element. When you share headers and footers between pages, webflow is always loading the interactions for the one page exported in the header.
Solution for static pages: Under page settings in Pinegrow, set the page as a “Master page” to export its own header and footer.
Another solution (more complicated) is to modify the header.php with some code like the one answer on Possible Webflow Javascript Animations issue? (Interactions 2.0) - #6 by uamalik