Why use headless mode?
As previously said, non-GUI applications allow you to work faster because, generally speaking, it is faster to write a command than to perform a GUI operation such as clicking a menu option, and then filling in some form, and finally submitting it.
On the other hand, non-GUI applications can be easily integrated with scripts, allowing you to apply a process to multiple binaries, integrate the application with other tools, and so on.
Imagine you are analyzing some malware using Ghidra and then you identify an encrypted string containing the Command and Control (C&C) URL pointing to the server that controls the malware. Then, you are required to retrieve the C&C URLs of thousands of malware samples in order to sinkhole the domains, in other words, in order to deactivate thousands of malware samples.
Given this situation, to load every malware sample into Ghidra and look for the C&C URL is not an option, even if you have developed a script to...