The other shop would have to know the reason for the firing and most HR depts will only confirm employment dates.