Resonant x-ray spectroscopies on CrSBr: Probing the electronic structure through chromium excitations