Allah has bestowed upon his servant Quran which can't be altered because Allah is it's protector but what about the previous books Gospel and all which has been altered? Are they not the book of Allah?

All books are allah books but the Quran is mojeza that is why Allah protected it and the other books are not mojeza. That is difference between Quran and other books