The fear of heights (acrophobia) is a specific phobia. Please see the following video which explains how a specific phobia develops: