Oh I'd guess its definately about courting and you might want to read Matt's thread (the Steelers guy) that's been going here lately about zebra eggs and such...
Brings up a more general topic though: "Display" is one of the great pleasures of the hobby I think. Many of us began noticing it when we were kids with our earliest tanks and it becomes second-nature to observe it in your fish. Its when fish spread all their fins and often display their best colors. Their motions and movements relative to others (there are both courting and agression displays, as you mention) are noticably different often.
Fish are more likely to "display" when their basic requirements of good water, food and temperature etc. are being met (and of course this leads into the whole topic of breeding where often there are special "triggers" that lead to breeding.) One of the things I like best about the kind of good aquarium environment you can establish early on, even as a beginner, from your efforts here in the beginner section of TFF is this kind of "good water" that leads to fish being settled and ready for this sort of "display" activity. Its been a repeated pleasure in our own family that the tank we established with help from the forum here is a nice environment like this and we've been getting lots and lots of "display" behaviour from our tank inhabitants.
Anyway, enjoy! Will be interesting to hear if you get any breeding activity like Matt did,
~~waterdrop~~