Picture two cost curves plotted against order quantity: ordering cost slopes downward as order size grows, while carrying cost slopes upward. Total inventory cost is their sum, and it is lowest exactly at the order quantity where these two curves cross, that is, where ordering cost equals carrying cost. The EOQ formula locates precisely this crossing point. So EOQ isn't minimizing just one of the two costs in isolation, it is minimizing their combined total, which means it targets both together.
Another way to see this is through simple logical elimination of what each single-cost option would actually achieve on its own.
Since neither cost alone can be minimized without making the other worse, the EOQ model necessarily targets their sum.
Therefore, the correct answer is Both.