It is the same Holy Spirit that does all those things. He gives gifts to each person, just the way he wants to.