Redux state composition question(codeacademystore project) NOT EXCLUSIVE TO REDUX

so, redux kicks me in the rear… but, this may be a general data storage question

part of this projects store is an array of objects, while other slices of state are objects nested inside an object… what influences this decision, why is it this way… why not have only arrays of objects for every slice of state? when is one better than another?