Sometimes people use "respect" to mean "treating someone like a person" and sometimes they use "respect" to mean "treating someone like an authority"
When they say "if you won't respect me I won't respect you" they mean "if you won't treat me like an authority I won't treat you like a person