The red flashing lights are turned on just before engine start and are turned off after the engines are shut down. Walking near an operating jet engine or turboprop is more dangerous than juggling chain saws. When ground personnel see those red lights flashing, they know the engines are running and the area is unsafe.