chalk up to

phrasal verb
1
to consider that something is caused by something
نسبت دادن به, منتسب دانستن به, علت آن را نسبت دادن به