Yeah the spiral effect is not natural, they did something weird in post processing (Or POSSIBLY some sort of weird trick with zooming during exposure or something, but I'm not 100% sure that would work, and if it does it requires expensive equipment). But otherwise, you do this by stacking a bunch of exposures as the sun sets. During sunset, the sky is more orange, and the later, the sky is more blue, and as long as stars are visible during both, you get a cool color combination. Also just some stars are red and others are blue to begin with, so you can get a similar effect by upping saturation and such, but it is magnified by sunset.
And then typically for the foreground, you just use one of your exposures only, without all the overlapping. Most likely you take a separate exposure just for the foreground the way you want it.
The technical details are easy to find on google, and are not worth typing out again here. Just look up basic tutorials on "star trails" or "astrophotography" for stuff like what exposure settings to use, or how to apply curves in photoshop to get stars to stand out from noise.