When is a convolution of two functions equal to their product, i.e. when is $f(t) \star g(t) \equiv \int_{-\infty}^\infty \mathrm{d}\tau f(\tau) g(t-\tau)=f(t) g(t)$ ?
Or equivalently, when is a Fourier transform of a product equal to the product of the relevant Fourier transforms, $\mathcal{F}[h(\omega) k(\omega)]=\mathcal{F}[h(\omega)] \mathcal{F}[k(\omega)]$ ?
Suppose $f(t)=1$ and $g(t)=\delta(t)$. Then$$(f\ast g)(t)=\int_{-\infty}^\infty (1)\delta(t-\tau)\,d\tau=\delta(t)=(1)\delta(t)=f(t)g(t)$$ as was desired. Additionally, note that their Fourier transforms are $$\mathcal{F}[f](\omega)=\delta(\omega),\qquad \mathcal{F}[g](\omega)=1$$ (up to an overall multiplicative constant depending on your convention for the FT). So the Fourier transform just swaps which function is the constant function and which is the delta function.