There is no single 'system' that can be optimized, there are hundreds of miners running different software to mine. The bitcoin protocol have incentives in place to maximize the number of transactions per block, like the fees charged by each transaction. But they are not mandatory.
Only the miners could answer for what they did what they did. But possible reasons are:
- An internet connection outage that prevent them to receive new transactions to be mined.
- A bug in the mining software.
- Disregard for the low value of the fees present in transactions at that moment
- Use of ASIC-boost or some other optimization that favors small blocks.