By “header” and “subtitle” do you mean between an H1 and H2 (or any other combination of header levels, I suppose)?
I’m not sure header spacing is something that is tweakable (beyond CSS hackery) in Bear. Personally, this is one of the reasons I use Bear over Apple Notes - I can’t stand how in Notes there is no spacing underneath headings at all!