The majority of the copies of the LXX had the books of the Maccabees in them. Actually there are 4 books, but only two have been considered inspired by the Catholic Church. The 3rd book of the Maccabees in considered inspired by some of the Eastern Orthodox. The Ethiopian Jews still use the LXX canon containing all the books that the Eastern Orthodox consider inspired, including 3 additional books, not considered inspired by the Eastern Orthodox.
Luther removed the deuterocanonicals primarily because he did not agree with their teachings. Such as praying for the dead, alms can purge sins, and the intercession of Saints. Whatever he saw as a fault in the text he used that as his reasoning for why they could not be divine inspired. Such as 2nd Maccabees gives different narrations on the death of King Antiochus. However, the books of Kings give different naratives on the death of King Saul…
Some of the other reformers said they can’t be inspired because the Jews living in Europe did not believe them to be part of the canon. However, Luther saw that as a week argument, for the Jews don’t believe the New Testament are inspired writings either. He stuck with pointing out what he saw were faults in the text which meant they weren’t inspired. Besides, the Ethiopian Jews still regard these books as inspired today.