Why has Israel imprisoned 10,000 Palestinians?

For every Palestinian Israel freed in the ceasefire deal, it has apprehended 15 more.

Why has Israel imprisoned 10,000 Palestinians?
For every Palestinian Israel freed in the ceasefire deal, it has apprehended 15 more.