\documentclass{article}
\usepackage{hyperref}
\usepackage{glossaries-extra}

\setabbreviationstyle{long-hyphen-short-hyphen}

\newabbreviation{label}{SHORTFORM}{long form}

\begin{document}
\section{\glsfmtshort{label}}
\section{\Glsfmtshort{label}}
\section{\glsfmtlong{label}}
\section{\Glsfmtlong{label}}
\end{document}
