The UI office will contact the company that fired you and ask for the reason why you were fired.
The UI office will then determine whether the reason for firing would disqualify you from receiving UI benefits. If the UI office decides the reason is NOT valid, then you can get benefits, depending on how long you have been working.
If the business contests the UI office, there will be a hearing to get your side of the story, especially if the policy is a questionable one. Some businesses how outright weird policies which the law considers not reasonable for refusing UI benefits.
If the business does not challenge your claim for UI benefits, then you get the UI benefits.
If the business waits too long to respond to the UI office request for an explanation of why you were fired, then the business loses its right to challenge your claim, and you get the UI benefits.
One problem with business policies is whether the fired person received adequate training regarding that policy.
I hope you did not learn the meaning of that policy the hard way.