The pituitary gland is a small gland that sits behind the bridge of the nose, beneath the brain. Tumors around this gland may cause various types of headaches, but they often cause pain in the forehead.