That is mainly because they were occupied with fighting the Northern Alliance. The other reason they were friendly with Pakistan is they were dependent on the Pakistani government’s support to stay in power. If they take full control of Afghanistan now they will then turn to helping their ideological soul mates in Pakistan. Their ideology says shariah must be spread around the globe. That combined with their affinity for the Pakistani Taliban makes their intervention in Pakistan inevitable.