Tfym
That's literally how it works.
Like if I said "f**k" at work I'd prolly lose my job.
Nearly all jobs that are customer based (pharmaceutical industry, clothing industry, food industry, vetrinary services, etc.) have strict policies around the types of things you can and cannot say around customers.