Google, through Googlebot, will seek to request and interpret your resources (CSS or JS for example) in order to obtain the final rendering of your page.
A display without some of the resources can affect the indexation of your web pages.
Never prevent Googlebot from accessing resources unless your SEO team specifically instructed to prevent Google from viewing certain strategic elements
This is how the page is seen by search engines
This is how users would have seen the page