Why sometimes I cannot alter the payment amount?

Your payee can set a specific payment amount in the QR code, you may check with your payee on the QR code setting.