Digital devices such as smartphones and computers can contribute to evening anxiety, partly through blue light that affects sleep cycles, and partly through content that can be stressful or stimulating. It is recommended to avoid these devices at least one hour before bedtime to promote better sleep and reduce anxiety.