Its done with using dedicated astrophotography software (StarXTerminator). Example: https://astrobackyard.com/starnet-astrophotography/
So these are more artistic photo works than real science photos...
Rod Prazeres the Astrophotographer, has given this interview where he talks about the process: https://www.astronomy.com/observing/the-astrophotography-of-...