The adjective critical has several meanings, among them, "vital," "verging on emergency," "tending to point out errors," and "careful."
If you're an emergency-room doctor with a patient in critical condition (on the highest alert), it's absolutely critical (vital or essential) that you be critical (careful and judicious) in your approach to their care, so that at the critical (decisive) moment, you can save their life. You must also be critical (that is, you must point out all the errors and flaws) of the jobs your colleagues are doing.