I asked a professor his answer was "B and E are thermodynamic parameters, measurable macroscopic quantities associated to the system therefore they are state functions"... I don't think I fully understand his answer.. but yeah this is it
Sorry forget to say..my argument was that since B can be measured knowing its current value(state) only..then it's a state function but I'm not sure to be honest if my reasoning correct