Sources say the army vet was acting strangely weeks before the shooting