1) Check with your supervisor or manager and then go to HR to find out the reason for termination.

2) Your absence may be causing the company to lose money or delay the project.

3) You may not have valid reason to be absent

In any case, they should have given you first a verbal warning, second time warning letter and 3rd time salary deduction before termination

I don't know, maybe that is only me. Only your immediate supervisor can give you a proper answer or HR