Origins of correlated activity in an olfactory circuit