https://www.spectrumanalytic.com/support/library/ff/Ca_Basics.htm
“Gypsum is recommended for two primary purposes. They are:
1.)To remove excess sodium (Na)
2). To build soil calcium (Ca) levels when a pH change is not desired.”
....
Just so you don’t have to take my word for it.
(And, highlight what should be obvious, in the context of the article when they say “a PH change is not desired”, they are discussing the desirability from a scientific perspective not a “because I want it that way regardless of facts” perspective.