Two friends order at a café. Ali buys 2 coffees and 1 muffin; Bea buys 1 coffee and 3 muffins. Coffee costs $4 and a muffin $3. Put the orders in a matrix and the prices in a column: [2113][43]=[2⋅4+1⋅31⋅4+3⋅3]=[1113]. Ali pays $11 and Bea $13. Each entry of the product runs along one row of the first matrix and down one column of the second, multiplying pairs and adding.
That pairing is why the sizes must fit. A row of A has as many entries as A has columns, and a column of B has as many entries as B has rows; they pair up only when those numbers match. An m×n matrix times an n×p matrix gives an m×p matrix: the inner numbers must agree, and the outer numbers give the size of the result. A 2×3 times a 3×4 is 2×4; a 2×3 times a 2×3 is undefined.
Order matters. With A=[1011] and B=[1101], AB=[2111] but BA=[1112]. Doing two transformations in the other order, such as turning then stretching instead of stretching then turning, usually changes the outcome.
Matrix addition looks similar but works position by position and needs identical sizes. A product needs only matching inner sizes, and every entry mixes a whole row with a whole column.
Think of it like this. Matrix multiplication works like a shop checkout: each row of A is one customer's basket, each column of B is a price list, and each entry of AB is one basket rung up on one price list. The basket and the price list must cover the same items, which is the inner-size rule. The picture does not explain why BA differs from AB; swapping the order changes which matrix plays the baskets.
Core idea. Each result entry is the dot product of a row of A with a column of B, and inner dimensions must match.