Answer
Bebel was imprisoned under the Anti-Socialist Laws because he was a leading member of the German Social Democratic Party (SPD), which the government saw as a threat. The laws were designed to suppress the SPD and other socialist parties, and they included bans on public meetings, demonstrations, and publications.