Senior fire officers investigated over 'horrendous' messages