Social anxiety can develop gradually over time or suddenly in response to specific life events or experiences. While some individuals may have symptoms from childhood, others may develop social anxiety later in life.