1. Their genes are being expressed differently. This is because, in specialized cells such as the ones you've been given, genes can be 'switched on and off' to express only the cells necessary for the function of that particular cell.
2. All genes are present in your liver cells. Every cell in the body contains exactly the same genes, they are just 'switched on and off' or expressed differently in different sorts of cells.