Explain why a bounds check matters before accessing an array.