Diatoms are a group of unicellular eukaryotes that are essential primary producers in aquatic ecosystems. The dynamic nature of their habitat necessitates a quick and specific response to various stresses. However, the molecular mechanisms of their physiological adaptations are still underexplored. In this work, we study the response of the cosmopolitan freshwater diatom Ulnaria acus (Bacillariophyceae, Fragilariophycidae, Licmophorales, Ulnariaceae, Ulnaria) in relation to a range of stress factors, namely silica deficiency, prolonged cultivation, and interaction with an algicidal bacterium. Fluorescent staining and light microscopy were used to determine the physiological state of cells under these stresses. To explore molecular reactions, we studied the genes involved in the stress response—type III metacaspase (MC), metacaspase-like proteases (MCP), death-specific protein (DSP), delta-1-pyrroline-5-carboxylate dehydrogenase (ALDH12), and glutathione synthetase (GSHS). We have described the structure of these genes, analyzed the predicted amino acid sequences, and measured their expression dynamics in vitro using qRT-PCR. We demonstrated that the expression of UaMC1, UaMC3, and UaDSP increased during the first five days of silicon starvation. On the seventh day, it was replaced with the expression of UaMC2, UaGSHS, and UaALDH. After 45 days of culture, cells stopped growing, and the expression of UaMC1, UaMC2, UaGSHS, and UaDSP increased. Exposure to an algicidal bacterial filtrate induced a higher expression of UaMC1 and UaGSHS. Thus, we can conclude that these proteins are involved in diatoms’ adaptions to environmental changes. Further, these data show that the molecular adaptation mechanisms in diatoms depend on the nature and exposure duration of a stress factor.