it's a codec thing. it will play in quicktime given you have the corresponding compression codec. they're not all compressed the same way. it'll be trial and error.
the problem isn't with the .avi file type, it's with the half-baked compression engines windows tends to use when creating them. (Indeo video is the biggest culprit, but some of those codecs can be downloaded for quicktime).