Gene expression is determined by several factors, including

Senescence
Chemicals in the body
Protein synthesis
The brain

Epigenetic modifications

Environmental factors
Hormones
Cell signaling pathways
Genetic mutations or variations
Regulatory elements and transcription factors
Cellular and tissue specific cues
Developmental stage