@brokendown36 Perhaps the reason is that he feels the same way about you? Look logically at the behaviour. On some days the two of you appear to talk non-stop. That indicates a closeness, chemistry, bond, that you care greatly about each other. You say that he ignores you some days and yet also that you have tried to avoid him as much as possible - could it be that you are both acting this way for identical reasons? When he ignores you might it not be for the exact same reason you avoid him? Seems reasonable...
It can be a very scary prospect, telling somebody just how much you care about them, but the current situation doesn't sound healthy and if one of you doesn't say something soon then you'll end up losing each other for sure. It might happen anyway but not speaking up is going to almost guarantee it.