In my model, some potentially confounding continuous variables had to be taken in account as well as an interaction of this variable with the main factor of interest, which is categorical. Initially, I had been doing some modelling in R but I switched to JMP for some extra plots. There the p-values of my main factor of interest changed dramatically. After some digging, I found out that JMP centers variables when they are involved in an interaction and that this option could be disabled. As expected, the p-values agreed with the R output as soon as I disabled it. I found an explanation as to why the p-values change when an interacting variable is centered here: p-values change after mean centering with interaction terms. How to test for significance?
However, while this explains how it could happen, I'm still in the dark as to how you could then decide which is more relevant? Somewhere in the link it is noted that the correct test for significance should involve all coefficients of the interacting effects at once but I'm completely unaware of how to do that?